SERVER=Server
CLIENT=Client
SRC_SERVER=Server.cc
SRC_CLIENT=Client.cc
CC=g++

.PHONY:all
all:$(SERVER) $(CLIENT)


$(CLIENT):$(SRC_CLIENT)
	$(CC) -o $@ $^ -std=c++11
$(SERVER):$(SRC_SERVER)
	$(CC) -o $@ $^ -std=c++11

.PHONY:clean
clean:
	rm -f $(SERVER) $(CLIENT)
